home *** CD-ROM | disk | FTP | other *** search
- 82
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- SetEnvironment
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baSetEnvironment sets the value of an environment variable
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baSetEnvironment( Variable, Value )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, string.
- --- RECORDSEPARATOR ---
- Variable is the name of the variable to get.
- --- RECORDSEPARATOR ---
- Value is the value to set the variable to.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String.
- --- RECORDSEPARATOR ---
- Returns 1 if successful, otherwise 0.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set OK = baSetEnvironment( "UserResults", "pass" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- OK := baSetEnvironment( "UserResults", "pass" )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- There are both system (available to all applications) and local (available only to the
- --- RECORDSEPARATOR ---
- current application) variables, and they may have the same name. This function will
- --- RECORDSEPARATOR ---
- only work with local variables, and will not change system variables. For example,
- --- RECORDSEPARATOR ---
- you can not change the system path variable using this functions.